home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 34.zip
/
BS1 part 34
/
Amigacall v3.51 prof.adf
/
SCRIPT
/
Ausflug
< prev
next >
Wrap
Text File
|
1989-12-16
|
1KB
|
76 lines
#
# :ts=8 #
list ^l
Ask @10,03;Erklaerung (J/N)?
compa !lastline! !with! j
ifequ goto babble
compa !lastline! !with! J
ifequ goto babble
goto ReallyDoIt
:babble
print "=================================================================
print
print " AUSFLUG INS GRUENE (by Markus Schmidt)
print
print " Dieses Script laesst ein kleines Auto ueber den Bildschirm
print " fahren (ja, Sie haben richtig gelesen). Das Auto wuerde wahr-
print " scheinlich laenger fahren, wenn da nicht dieses Hindernis
print " ware ...
print "
print "=================================================================
exit
:ReallyDoIt
# die Zeichenfolge ^[[ entspricht einem <ESC>[ und ist die
# Startsequenz fuer VT100-Steuercodes
# Bildschrim loeschen und Cursor 5 Zeilen nach unten
# <ESC>[5B => Cursor 5 Zeilen nach unten
list ^l^[[2B
# Cursor aus
list ^[[0 p
##
## Hauptschleife
##
setn i,0
:loop1
list " -o-o-^[[6D^[[A / \__^[[A^[[5D _^[[2B^[[2D"
inc i
compn !i! !with! 45
iflow goto loop1
list "-o-o^^^[[6D^[[A / \_,^[[A^[[5D _^[[2B^[[2D"
setn i,0
:loop2
inc i
compn !i! !with! 5
iflow goto loop2
list " -oo^^^[[5D^[[A / \^^^[[A^[[4D _^[[2B^[[2D"
setn i,0
:loop3
inc i
compn !i! !with! 5
iflow goto loop3
list " -%^^^[[4D^[[A /|_^[[A^[[3D ^[[2B^[[5D^m"
delay 2
# Cursor an
list ^[[ p
exit